package com.tianhui.consignortwofei.mvp.model.hetong;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * @author fgs
 * @date 2021/5/18
 * @description
 **/
public class ContractInfo implements Parcelable {
    public String qualitystandard;
    public String seal;
    public String isaudit;
    public String fax_b;
    public String staute;
    public String legalperson_b;
    public String legalperson_a;
    public String content;
    public String placemethod;
    public String representative_b;
    public String modifyTime;
    public String accountname;
    public String company_a;
    public String isblack;
    public String signedate;
    public String realfilename;
    public String signedat;
    public String id;
    public String Party_b;
    public String Party_a;
    public String qiandingri;
    public String otherplacemethod;
    public String modifyBy;
    public String audittime;
    public String banknumber;
    public String contractno;
    public String cangchufei;
    public String istatus;
    public String auditcontent;
    public String payway;
    public String company_b;
    public String methodtype;
    public String tel_b;
    public String complain;
    public String representative_a;
    public String tel_a;
    public String address_;
    public String createBy;
    public String fax_a;
    public String contracttype;
    public String auditperson;
    public String createTime;
    public String address_a;
    public List<ProductInfo> contractcontentlist;
    public String bankopen;
    public String packagetype;
    public String remarks;
    public String createName;

    public String paywaychoose;
    public String paywaychoosecontent;

    public String methoddate;

    public String paytype;
    public String djpayment;




        @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.qualitystandard);
        dest.writeString(this.seal);
        dest.writeString(this.isaudit);
        dest.writeString(this.fax_b);
        dest.writeString(this.staute);
        dest.writeString(this.legalperson_b);
        dest.writeString(this.legalperson_a);
        dest.writeString(this.content);
        dest.writeString(this.placemethod);
        dest.writeString(this.representative_b);
        dest.writeString(this.modifyTime);
        dest.writeString(this.accountname);
        dest.writeString(this.company_a);
        dest.writeString(this.isblack);
        dest.writeString(this.signedate);
        dest.writeString(this.realfilename);
        dest.writeString(this.signedat);
        dest.writeString(this.id);
        dest.writeString(this.Party_b);
        dest.writeString(this.Party_a);
        dest.writeString(this.qiandingri);
        dest.writeString(this.otherplacemethod);
        dest.writeString(this.modifyBy);
        dest.writeString(this.audittime);
        dest.writeString(this.banknumber);
        dest.writeString(this.contractno);
        dest.writeString(this.cangchufei);
        dest.writeString(this.istatus);
        dest.writeString(this.auditcontent);
        dest.writeString(this.payway);
        dest.writeString(this.company_b);
        dest.writeString(this.methodtype);
        dest.writeString(this.tel_b);
        dest.writeString(this.complain);
        dest.writeString(this.representative_a);
        dest.writeString(this.tel_a);
        dest.writeString(this.address_);
        dest.writeString(this.createBy);
        dest.writeString(this.fax_a);
        dest.writeString(this.contracttype);
        dest.writeString(this.auditperson);
        dest.writeString(this.createTime);
        dest.writeString(this.address_a);
        dest.writeList(this.contractcontentlist);
        dest.writeString(this.bankopen);
        dest.writeString(this.packagetype);
        dest.writeString(this.remarks);
        dest.writeString(this.createName);

        dest.writeString(this.paywaychoose);
        dest.writeString(this.paywaychoosecontent);

        dest.writeString(this.methoddate);
        dest.writeString(this.paytype);

        dest.writeString(this.djpayment);



    }

    public ContractInfo() {
    }

    protected ContractInfo(Parcel in) {
        this.qualitystandard = in.readString();
        this.seal = in.readString();
        this.isaudit = in.readString();
        this.fax_b = in.readString();
        this.staute = in.readString();
        this.legalperson_b = in.readString();
        this.legalperson_a = in.readString();
        this.content = in.readString();
        this.placemethod = in.readString();
        this.representative_b = in.readString();
        this.modifyTime = in.readString();
        this.accountname = in.readString();
        this.company_a = in.readString();
        this.isblack = in.readString();
        this.signedate = in.readString();
        this.realfilename = in.readString();
        this.signedat = in.readString();
        this.id = in.readString();
        this.Party_b = in.readString();
        this.Party_a = in.readString();
        this.qiandingri = in.readString();
        this.otherplacemethod = in.readString();
        this.modifyBy = in.readString();
        this.audittime = in.readString();
        this.banknumber = in.readString();
        this.contractno = in.readString();
        this.cangchufei = in.readString();
        this.istatus = in.readString();
        this.auditcontent = in.readString();
        this.payway = in.readString();
        this.company_b = in.readString();
        this.methodtype = in.readString();
        this.tel_b = in.readString();
        this.complain = in.readString();
        this.representative_a = in.readString();
        this.tel_a = in.readString();
        this.address_ = in.readString();
        this.createBy = in.readString();
        this.fax_a = in.readString();
        this.contracttype = in.readString();
        this.auditperson = in.readString();
        this.createTime = in.readString();
        this.address_a = in.readString();
        this.contractcontentlist = new ArrayList<ProductInfo>();
        in.readList(this.contractcontentlist, ProductInfo.class.getClassLoader());
        this.bankopen = in.readString();
        this.packagetype = in.readString();
        this.remarks = in.readString();
        this.createName = in.readString();

        this.paywaychoose = in.readString();
        this.paywaychoosecontent = in.readString();

        this.methoddate = in.readString();
        this.paytype = in.readString();

        this.djpayment = in.readString();



    }

    public static final Creator<ContractInfo> CREATOR = new Creator<ContractInfo>() {
        @Override
        public ContractInfo createFromParcel(Parcel source) {
            return new ContractInfo(source);
        }

        @Override
        public ContractInfo[] newArray(int size) {
            return new ContractInfo[size];
        }
    };
}
